//
//  ReturnServiceViewController.m
//  PeopleStreet
//
//  Created by 刘建峰 on 2016/11/18.
//  Copyright © 2016年 yuf. All rights reserved.
//

#import "ReturnServiceViewController.h"
#import "VIPWebViewController.h"

@interface ReturnServiceViewController ()
@property (weak, nonatomic) IBOutlet UIView *navView;
@property (weak, nonatomic) IBOutlet UIScrollView *scroView;

@end

@implementation ReturnServiceViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    [self initViewLayout];
    // Do any additional setup after loading the view.
}


- (void)initViewLayout{
    [self adaptiveViewLayout:self.view];
    [self adaptiveViewLayout:self.navView];
    [self adaptiveViewLayout:self.scroView];
    
    _scroView.contentSize = flexibleSize(CGSizeMake(0, 505), NO);
}

- (IBAction)back:(id)sender {
    [self.navigationController  popViewControllerAnimated:YES];
}

#pragma mark ===== 退款说明
- (IBAction)returnMoneyExplain:(id)sender {
    UIStoryboard *secondStroyBoard=[UIStoryboard storyboardWithName:@"VIPServiceStoryboard" bundle:nil];
    VIPWebViewController *page = [secondStroyBoard instantiateViewControllerWithIdentifier:@"VIPWeb"];
    page.url = SX_goodsReturns;
    page.titleStr = @"退款说明";
    [self.navigationController  pushViewController:page animated:YES];
}

#pragma mark ===== 退换货流程
- (IBAction)retuenChangeExplain:(id)sender {
    UIStoryboard *secondStroyBoard=[UIStoryboard storyboardWithName:@"VIPServiceStoryboard" bundle:nil];
    VIPWebViewController *page = [secondStroyBoard instantiateViewControllerWithIdentifier:@"VIPWeb"];
    page.url = SX_goodsReturns;
    page.titleStr = @"退换货流程";
    [self.navigationController  pushViewController:page animated:YES];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
